package at.ac.tuwien.swa075.telco.bc.service;

import java.sql.Timestamp;

import at.ac.tuwien.swa075.telco.bc.BCException;

public interface IInvoiceService {
	
	/**
	 * Calculates the total amount for a given period of time and debits the according account for all subscriber ids.
	 *  
	 * @param from Start of the time peroid
	 * @param to End of the time period
	 * @throws BCException An error 
	 */
	public void processInvoices(Timestamp from, Timestamp to) throws BCException;

}
